import axios from 'axios'
import qs from 'qs'

export function register(data?: any) {
  return axios({
    url: '/api/register',
    method: 'post',
    data: qs.stringify(data)
  })
}
